<% if flash[:notice].present? %>
<div class="grid_8 push_1 notice">
  <div><%= flash[:notice] %></div>
</div>
<% end %>
<div class="grid_15 push_1" id="peer_price_form">
  <%= form_tag create_from_excel_peer_prices_url,
        :remote => true do %>
    <h6><b>从Excel导入『<%= Date.today %>』的<%= t params[:type_name] %>报价</b></h6>
    <dl class="grid_14 ">
      <dt class="grid_2 w4">Excel</dt>
      <dd class="grid_11">
        <%= text_area_tag :excel, '', :rows => '10'%>
        <%= hidden_field_tag :released_on, params[:released_on] %>
       <%= hidden_field_tag :type_name, params[:type_name] %>
      </dd>
    </dl>
    <hr>
    <dl class="grid_14">
      <dd class="grid_11">
        <%= submit_tag '保存', :disabled_with => '提交中...' %>
        <%= link_to "返回",to_new_peer_prices_url(:type_name => params[:type_name]),:remote => true, :method => :get, :class => :button %>
      </dd>
    </dl>
    <% end %>
</div>
<div class='clear'></div>